﻿<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
  <title>注册程序之失败页面</title>
</head>
<body>
<center>
  <h1>注册操作</h1>
  <hr>
  <h2>
    <%if (session.getAttribute("text").equals("用户ID已存在！")) {%>
    错误:<%=session.getAttribute("text")%>请<a href="login.jsp">登录</a>
    <%
    }else {
    %>
    错误:<%=session.getAttribute("text")%>请重新<a href="register.jsp">注册</a></h2>
  <%
    }
    session.removeAttribute("text");
    session.removeAttribute("name");
  %>
</center>
</body>
</html>


